/* MediaPipe 检测状态样式 */
.error-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.error-info small {
  color: #888;
  font-size: 0.8em;
}

.detection-status {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  background: #f8f9fa;
  border: 2px solid #dee2e6;
  border-radius: 12px;
  margin: 15px 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.detection-status span {
  font-weight: 500;
  font-size: 14px;
}

.detection-status .error {
  color: #ff4444;
  font-weight: bold;
}

/* 重新加载检测按钮样式 */
.reload-detection-btn {
  background: linear-gradient(135deg, #FF6B35, #F7931E) !important;
  color: white !important;
  border: 1px solid #FF6B35 !important;
  padding: 8px 12px !important;
  border-radius: 6px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 2px 6px rgba(255, 107, 53, 0.3) !important;
}

.reload-detection-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, #E55A2B, #E8851C) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 3px 8px rgba(255, 107, 53, 0.4) !important;
}

.reload-detection-btn:disabled {
  background: linear-gradient(135deg, #6c757d, #5a6268) !important;
  color: #ffffff !important;
  border-color: #6c757d !important;
  cursor: not-allowed !important;
  box-shadow: 0 1px 3px rgba(108, 117, 125, 0.3) !important;
  opacity: 0.7 !important;
}

/* 迷你检测状态指示器 */
.detection-status-mini {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 15px;
  padding: 6px 12px;
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 20px;
  font-size: 12px;
}

.detection-indicator {
  font-weight: 600;
  color: #495057;
}

.error-hint {
  color: #dc3545;
  font-size: 10px;
  font-weight: 500;
}

/* 检测状态指示器 */
.detection-status span:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 600;
  padding: 12px 16px;
  background: #ffffff;
  border-radius: 8px;
  border-left: 6px solid #2196F3;
  color: #212529;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* 提示信息样式 */
.detection-status small {
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 4px;
  padding: 8px 12px;
  color: #856404;
  font-size: 12px;
  line-height: 1.4;
}

